//
//  AppDelegate.h
//  AttendenceSys
//
//  Created by 窦芳俊 on 16/1/12.
//  Copyright © 2016年 窦芳俊. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASBaseTabBarController.h"
#import "ASConfig.h"
#import "ASLoginUserInfo.h"
#import "ASPracUnitLoginUserInfo.h"

@interface ASAppDelegate : UIResponder <UIApplicationDelegate>

@property (nonatomic, strong) UIWindow *window;
@property (nonatomic, strong) ASBaseTabBarController*	tabbarViewController;
@property (nonatomic, weak)	  UINavigationController*	portalNavCtrl;
@property (nonatomic, weak)	  UINavigationController*	todoListNavCtrl;
@property (nonatomic, strong) ASLoginUserInfo*          userInfo;
@property (nonatomic, strong) ASPracUnitLoginUserInfo*  pracUnitUserInfo;//实习单位账户信息
@property (nonatomic, strong) NSString*                 userCode;
@property (nonatomic, assign) BOOL                      bSelectStu;
@property (nonatomic, strong) NSMutableArray*           politicalInfoArr;
@property (nonatomic, assign) NSInteger                 userSelectStatus;//用户登陆选择状态(0学生,1老师,2实习单位)


+ (ASAppDelegate *)sharedAppDelegate;

/**
 *  @brief  进入登录页面
 */
- (void)enterLoginView;

/**
 *  @brief  进入主页
 */
- (void)enterMainView;

- (void)saveLoginUserInfo:(ASLoginUserInfo*)info;

- (void)savePracUnitLoginUserInfo:(ASPracUnitLoginUserInfo*)info;


@end

